# 求解1-100 能被3和5同时整除的数字的和

i = 1
sum = 0
while i < 100:
    if i % 3 == 0 and i % 5 == 0:
        sum += i
    i += 1
print(sum)
